package com.arm.service.impl;

import com.arm.dao.WeChatOrderFeedbackMapper;
import com.arm.module.WeChatOrderFeedback;
import com.arm.service.WeChatOrderFeedbackService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by zpc on 2017/3/11.
 */
@Service("weChatOrderFeedbackService")
public class WeChatOrderFeedbackServiceImpl implements WeChatOrderFeedbackService {

    @Autowired
    private WeChatOrderFeedbackMapper weChatOrderFeedbackMapper;

    @Override
    public void createWeChatOrderFeedback(WeChatOrderFeedback weChatOrderFeedback) {
        weChatOrderFeedbackMapper.createWeChatOrderFeedback(weChatOrderFeedback);
    }

    @Override
    public WeChatOrderFeedback findWeChatOrderFeedback(@Param("paramMap") Map<String, String> paramMap) {
        return weChatOrderFeedbackMapper.findWeChatOrderFeedback(paramMap);
    }

}
